<template>
  <div class="examine">
    <a-modal v-model:visible="visible" @cancel="visible=false" style="height:100vh;" width="100vw" :on-before-ok="()=>visible=false" unmountOnClose>
      <div style="height:100%;width: 100%;">
        <form-preview :FormEntitys="FormEntitys" :FormRuleActions="FormRuleActions"></form-preview>
      </div>
  </a-modal>
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import formPreview from '@/components/common/x-draggable/form-preview/index.vue'
import useForm from '@/components/common/x-draggable/hooks/useForm'

let {aliveFormDataInLocalStorage,FormEntitys,FormRuleActions}=useForm()
aliveFormDataInLocalStorage()

let visible=ref(true)
</script>

<style scoped lang="scss">
.examine {
  width: 100%;
  height: 100%;
  // border: 1px solid red;
}
</style>
